
DEP= common.h \
     mesh/grid.h \
     mesh/block.h \
     mesh/cgnsReader.h \
     mesh/vizGrid.h \
     field/field.h \
     field/scalarField.h \
     operator/stencil.h \
     memory/refCount.h \
     memory/tmp.h \
     memory/tmpI.h \
     operator/stencil.h \
     operator/stencilImp2D.h \
     operator/stencilImp3D.h

CFLAGS=-I. -Imemory -Ioperator -Ifield -Imesh -DBZ_DEBUG

TARGET=test

$(TARGET): $(TARGET).o
	g++ $(TARGET).o -o $(TARGET) -lblitz

$(TARGET).o: $(TARGET).cpp $(DEP)
	g++ $(CFLAGS) -c $(TARGET).cpp


